package com.liferay.controller;

import java.io.IOException;
import java.io.PrintWriter;

import javax.portlet.PortletException;
import javax.portlet.RenderMode;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;

import com.liferay.util.bridges.mvc.MVCPortlet;

public class HelloWorldController extends MVCPortlet {

	@RenderMode(name = "VIEW")
	public void sayHello(RenderRequest request, RenderResponse response)
			throws PortletException, IOException {
		PrintWriter write = response.getWriter();
		write.print("Hello World");
	}
}
